package com.xb.testdown.update.http;

import com.xb.testdown.update.bean.UpdateInfo;

import io.reactivex.Observable;
import retrofit2.Call;
import retrofit2.Response;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface UpdateService {
    String base_url = "https://lawapi.lawdoo.com/";
    @GET("")
    Call<Response> getUpdateInfo(@Query("belong")String belong, @Query("version") String version);

    @GET("lawyer/api/ApkUpdateManagement/")
    Observable<UpdateInfo> getUpdateInfo1(@Query("indexUrl")String indexUrl);

}
